package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import com.zzyl.vo.NursingProjectPlanVo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;


public interface NursingPlanService {
    PageResponse<NursingPlanVo> getByPage(String planName, Integer status, Integer pageNum, Integer pageSize);

    List<NursingPlanVo> findAll();

    NursingPlan findById(Integer id);

    void add(NursingPlanVo plan);

    NursingPlanVo getNursingPlanById(Long id);

    NursingPlanVo createNursingPlan(NursingPlanDto nursingPlanDto);

    void updateNursingPlan(NursingPlanVo nursingPlanVo);

    void deleteNursingPlan(Long id);

    void updateNursingPlanStatus(Long id, Integer status);

    List<NursingPlanVo> searchNursingPlans(String planName, Integer status);

    void updateById(NursingProjectPlanVo nursingProjectPlanVo);

    /* void updateById(NursingProjectPlanVo nursingProjectPlanVo);*/

}